package com.ruizhong.integratedmediawithoutc.task;

import com.ruizhong.integratedmediawithoutc.config.DefaultAssetsPathProvider;
import com.ruizhong.integratedmediawithoutc.controller.SystemController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import org.springframework.util.CollectionUtils;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.DayOfWeek;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.stream.Stream;

@Component
@Slf4j
public class ScheduledTask {

    @Autowired
    private DefaultAssetsPathProvider pathProvider;



    @PreDestroy
    public void preDestroy() {

    }



//    @Scheduled(fixedRate = 1000)
    public void initTaskArr() {

    }

}
